package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zyl
 * @Date 2019/6/4 -17:18
 */
public class MaterialCheck {
    private  String code;
    private String  type;
    private String appearance;
    private String size;
    private String assembly;
    private String performance;
    private String result;
    private String remark;
    private String creator;
    @TableField(exist = false)
    private String creatorName;
    @TableField("checkTime")
    private Date checkTime;
    @TableField("createTime")
    private Date createTime;
    @TableField("photoPath")
    private String photoPath;
    private List<JqbzMaterialListCheck> JqbzMaterialListCheck;
    private  List<JqzzMaterialListCheck> JqzzMaterialListCheck;

    public List<com.jy.adscm.operation.mscyb.bean.JqbzMaterialListCheck> getJqbzMaterialListCheck() {
        return JqbzMaterialListCheck;
    }

    public void setJqbzMaterialListCheck(List<com.jy.adscm.operation.mscyb.bean.JqbzMaterialListCheck> jqbzMaterialListCheck) {
        JqbzMaterialListCheck = jqbzMaterialListCheck;
    }

    public List<com.jy.adscm.operation.mscyb.bean.JqzzMaterialListCheck> getJqzzMaterialListCheck() {
        return JqzzMaterialListCheck;
    }

    public void setJqzzMaterialListCheck(List<com.jy.adscm.operation.mscyb.bean.JqzzMaterialListCheck> jqzzMaterialListCheck) {
        JqzzMaterialListCheck = jqzzMaterialListCheck;
    }

    public String getCode() {

        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAppearance() {
        return appearance;
    }

    public void setAppearance(String appearance) {
        this.appearance = appearance;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAssembly() {
        return assembly;
    }

    public void setAssembly(String assembly) {
        this.assembly = assembly;
    }

    public String getPerformance() {
        return performance;
    }

    public void setPerformance(String performance) {
        this.performance = performance;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCheckTime() {
        return checkTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }
}
